<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>
<%@ page import="com.ba360.portal.util.Helper" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" language="javascript">
var sc_project=1784629;
var sc_invisible=1;
var sc_partition=16;
var sc_security="c4ed3cc9";
</script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url();
	background-color: #CCCCCC;
}
-->
</style>
<link href="../css/droik.css" rel="stylesheet" type="text/css">
<link href="../css/sifr.print.css" rel="stylesheet" type="text/css">
<link href="../css/browse.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<%
	Helper help = new Helper();	
	int count;
%>
<body>
	<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>
			<td>
				<table width="100%"  border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<jsp:include page="/jsp/top.jsp"/>							
						</td>
					</tr>
					<tr>
						<td>
							<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
								<tr>
									<td width="14%"> <a href="#"><img src="../images/zz1a_03.jpg" alt="" width="141" height="56" border="0"></a></td>
									<td width="14%"> <a href="#"><img src="../images/zz1a_04.jpg" alt="" width="141" height="56" border="0"></a></td>
									<td width="14%"> <a href="http://www.droik.com/aboutus.php"><img src="../images/zz1a_05.jpg" alt="" width="141" height="56" border="0"></a></td>
									<td width="13%"> <a href="http://www.droik.com/contact.php"><img src="../images/zz1a_06.jpg" alt="" width="137" height="56" border="0"></a></td>
									<td width="45%" colspan="2" style="background-image:url(../images/zz1a_07.jpg)">
										<table style="margin-left:30px">
											<tr>
												<td><a href="http://www.droik.com/" class="cityfonts">All Cities</a></td>
												<td><a href="http://www.droik.com/Ahmedabad" class="cityfonts">Ahmedabad</a></td>
												<td><a href="http://www.droik.com/Bangalore" class="cityfonts">Bangalore</a></td>
												<td><a href="http://www.droik.com/Chennai" class="cityfonts">Chennai</a></td>
												<td></td>
											</tr>
											<tr>
												<td><a href="http://www.droik.com/Delhi" class="cityfonts">Delhi</a></td>
												<td><a href="http://www.droik.com/Hyderabad" class="cityfonts">Hyderabad</a></td>
												<td><a href="http://www.droik.com/Kolkata" class="cityfonts">Kolkata</a></td>
												<td><a href="http://www.droik.com/Mumbai" class="cityfonts">Mumbai</a></td>
												<td><a href="http://www.droik.com/Pune" class="cityfonts">Pune</a></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
								<tr>
									 <td colspan="5" background="../images/blu.jpg"> <img src="../images/zz1a_08.jpg" width="714" height="175" alt=""></td>				
									<td width="24%" valign="top">
										<table id="Table_01" width="244" height="175" border="0" cellpadding="0" cellspacing="0">
											<tr>
												<td> 
													<img src="../images/zz1a_09_01.jpg" width="244" height="29" alt="">
												</td>
											</tr>
											<tr>
												<td>
													<img src="../images/zz1a_09_02.jpg" height="35">
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../images/zz1a_09_03.jpg" height="32">
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../images/zz1a_09_04.jpg" height="30">
												</td>
											</tr>
											<tr>
												<td class="getstarted">
													<a href="http://www.droik.com/portal/editSubscription.do?action=Create">Get Started Now</a>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor="#FCFCFC">
							<table width="100%" height="49" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id="Table_01">
								<tr bgcolor="#FCFCFC">
									<td width="16%"> <a href="../portal/SearchAdv.do?action=SearchAd&PostingType=99&adContent=&type=Classifieds&Submit=GO"><img src="../images/zz1a_10_01.jpg" alt="" width="157" height="49" border="0"></a></td>
									
									<td width="10%"><a href="TermsConditions.jsp" class="fontstyle3">Post An Ad</a></td>
									<td width="13%"><a href="SearchClassifieds.jsp" class="fontstyle3">Advanced Search</a></td>
									<td width="17%"> <img src="../images/zz1a_10_04.jpg" width="170" height="49" alt=""></td>
									<td width="7%"> <div align="right"><img src="../images/zz1a_10_05.jpg" width="70" height="49" alt=""></div></td>
									<td width="33%" height="49" background="../images/zz1a_10_06.jpg">
										<table width="100%"  border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td width="29%">
													<form action="../portal/SearchAdv.do?action=SearchAd" id="searchform">
														<input type="hidden" name="action" value="SearchAd"/>
														<input type="hidden" name="PostingType" value="99"/>
														<select name="city" id="cities" onChange="cityaction() class="form">
															 <%															   					
															   java.sql.Connection conn = null;
															   java.sql.Statement  stat = null;
															   Class.forName( "com.mysql.jdbc.Driver");
															   //conn = java.sql.DriverManager.getConnection("jdbc:mysql://localhost:3306/ba3602_droikclassifieds","ba3602_portal","p0rtal" );
															   conn = java.sql.DriverManager.getConnection("jdbc:mysql://localhost:3306/ba3602_droikclassifieds","root","" );
															   stat = conn.createStatement();																					
															   java.sql.ResultSet rs = stat.executeQuery("select city_id,cityname from lookup_city"); 														         						   
								         						   while (rs.next())
								         						   {         		
									         						   int cityid = rs.getInt(1);
																   String cityname = rs.getString(2);
																   			      						   
							         						%>
								         							   <option value="<%=cityid%>"><%=cityname%></option>
								         					<%
								         						   }	         						    
								         					%>		
														</select>													</td>                  
												<td width="59%"><input name="adContent" id="ss" type="text" class="form" size="27" value=""></td>
												<td width="12%"><input name="Submit" type="submit" class="button" value="Go"></td>
													</form>
											</tr>											
										</table>
									</td>
									<td width="4%"> <img src="../images/zz1a_10_07.jpg" width="13" height="49" alt=""></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td background="../images/tbg.jpg">
							<br>
							<table width="100%"  border="0" cellspacing="0" cellpadding="0">														
								<tr>
									<td background="../images/tbg.jpg">
										<table width="100%" height="493" border="0" cellpadding="0" cellspacing="0" id="Table_01">
											<tr valign="top">
												<td width="0" height="202" valign="top">
													<table width="188" height="187" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
														<tr>
															<td height="24" background="../images/box_01.gif">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<%count = help.getHeadCount("Housing");%>
																		<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=1">Housing (<%=count%>)</a></td>
																	</tr>                          
																</table>
															</td>
														</tr>
														<tr>
															<td height="153" valign="top" background="../images/boxbg.jpg" bgcolor="#FFFFFF">
																<table width="100%"  border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td background="../images/boxbg.jpg" class="box">
																			<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																				<tr>
																					<td>
																						<img src="../images/spacer.gif" width="1" height="5">
																					</td>
																				</tr>
																				<tr>
																					<td class="indextablefont">
																						<display:table name="<%="applicationScope.APCATLIST.item[" + (0)+ "].subCatList"%>" id="child"> 
																							<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																							</display:column> 
																						</display:table>
																					</td>
																				</tr>
																			</table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
														<tr>
															<td> 
																<img src="../images/box_03.gif" width="188" height="10" alt="">
															</td>
														</tr>
													</table>
												</td>
												<td width="0" height="202" valign="top">
													<table width="188" height="187" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
														<tr>
															<td height="24" background="../images/box_01.gif">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<% count = help.getHeadCount("Buy & Sell"); %>
																		<td>
																			<a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=2">Buy &amp; Sell (<%=count%>)</a>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
														<tr>
															<td height="153" valign="top" background="../images/boxbg.jpg" bgcolor="#FFFFFF">
																<table width="100%"  border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td background="../images/boxbg.jpg" class="box">
																			<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																				<tr>
																					<td><img src="../images/spacer.gif" width="1" height="5"></td>
																				</tr>
																				<tr>
																					<td class="indextablefont">
																						<display:table  name="<%="applicationScope.APCATLIST.item[" + (1)+ "].subCatList"%>" id="child"> 
																							<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																							</display:column> 
																						</display:table>
																					</td>
																				</tr>
																			</table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
														<tr>
															<td>
																<img src="../images/box_03.gif" width="188" height="10" alt="">
															</td>
														</tr>
													</table>
												</td>
												<td width="0" height="316" rowspan="2" valign="top">
													<table width="188" height="300" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
														<tr>
															<td height="24" background="../images/box_01.gif"><table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Services Offered"); %>
															<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=6">Services Offered (<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td height="265" valign="top" background="../images/boxbg.jpg">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td height="231" valign="top" class="box">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table  name="<%="applicationScope.APCATLIST.item[" + (5)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column> 
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> <img src="../images/box_03.gif" width="188" height="10" alt=""></td>
											</tr>
										</table>
									</td>
									<td width="0" height="202" valign="top">
										<table width="188" height="187" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Community"); %>
															<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=7">Community(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td height="153" valign="top" background="../images/boxbg.jpg" bgcolor="#FFFFFF">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td background="../images/boxbg.jpg" class="box">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table  name="<%="applicationScope.APCATLIST.item[" + (6)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column> 
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> <img src="../images/box_03.gif" width="188" height="10" alt=""></td>
											</tr>
										</table>
									</td>
									<td width="0" height="493" rowspan="3" valign="top">
										<table width="188" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Job Openings"); %>
															<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=4">Jobs(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top" background="../images/boxbg.jpg">
													<table width="100%" height="447"  border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td height="430" valign="top" class="box">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table name="<%="applicationScope.APCATLIST.item[" + (3)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column>
																			</display:table>                                 
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../images/box_03.gif" width="188" height="10" alt="">
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr valign="top">
									<td width="0" height="114" valign="top">
										<table width="188" height="104" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Miscellaneous"); %>
															<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=101">Miscellaneous(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top" background="../images/boxbg.jpg">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td height="68" valign="top" class="smallbox">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table name="<%="applicationScope.APCATLIST.item[" + (7)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title=" " href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column>
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../images/box_03.gif" width="188" height="10" alt="">
												</td>
											</tr>
										</table>
									</td>
									<td width="0" height="114" valign="top">
										<table width="188" height="104" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Education"); %>
															<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=5">Education(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top" background="../images/boxbg.jpg">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td height="68" valign="top" class="smallbox">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table  name="<%="applicationScope.APCATLIST.item[" + (4)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column>
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../images/box_03.gif" width="188" height="10" alt="">
												</td>
											</tr>
										</table>
									</td>
									<td width="0" height="114" valign="top">
										<table width="188" height="104" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Autos"); %>
															<td><a class="fontstyle1" href="../portal/SearchAdv.do?action=SearchAd&PostingType=109">Autos(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top" background="../images/boxbg.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td height="68" valign="top" class="smallbox">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<td><img src="../images/spacer.gif" width="1" height="5"></td>
														</tr>
														<tr>
															<td class="indextablefont">
																<display:table name="<%="applicationScope.APCATLIST.item[" + (9)+ "].subCatList"%>" id="child"> 
																	<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																	</display:column>
																</display:table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td> <img src="../images/box_03.gif" width="188" height="10" alt=""></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr valign="top">
						<td width="0" height="117" valign="top" bgcolor="#FFFFFF">
							<table width="188" height="168" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
								<tr>
									<td height="24" background="../images/box_01.gif">
										<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<% count = help.getHeadCount("Personals"); %>
												<td><a href="../portal/SearchAdv.do?action=SearchAd&PostingType=3" class="fontstyle1">Personals(<%=count%>)</a></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td height="134" valign="top" class="box">
										<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<td><img src="../images/spacer.gif" width="1" height="5"></td>
											</tr>
											<tr>
												<td class="indextablefont">
													<display:table  name="<%="applicationScope.APCATLIST.item[" + (2)+ "].subCatList"%>" id="child"> 
														<display:column valign="top" class="highlight" property="subCatName" title=" " href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
														</display:column> 
													</display:table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td> <img src="../images/box_03.gif" width="188" height="10" alt=""></td>
								</tr>
							</table>
						</td>
						<td colspan="3" valign="top" bgcolor="#FFFFFF"> <img src="../images/zz1a_11_10.jpg" width="527" height="177" alt=""></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	</td>
</tr>
<tr>
<td>
	<img src="../images/zz1a_12.jpg" alt="" width="1000" height="43" border="0" usemap="#MapMapMapMap">
	<map name="MapMapMapMap">
		<area shape="rect" coords="620,5,680,27" href="../contact.php">
		<area shape="rect" coords="528,6,577,26" href="../aboutus.php">
		<area shape="rect" coords="438,4,493,25" href="blog.htm">
		<area shape="rect" coords="321,3,404,25" href="classifieds.htm">
	</map>
</td>
</tr>
</table>
</td>
</tr>
</table>
<map name="MapMapMap">
<area shape="rect" coords="596,5,656,27" href="../contact.php">
<area shape="rect" coords="511,6,560,26" href="../aboutus.php">
<area shape="rect" coords="423,4,478,25" href="blog.htm">
<area shape="rect" coords="312,3,395,25" href="classifieds.htm">
</map>
<map name="MapMap">
<area shape="rect" coords="596,5,656,27" href="../contact.php">
<area shape="rect" coords="511,6,560,26" href="../aboutus.php">
<area shape="rect" coords="423,4,478,25" href="blog.htm">
<area shape="rect" coords="312,3,395,25" href="classifieds.htm">
</map>
</body>
</html>
